then you only really have to handle the last case ...
# squarelibraries
j
then you only really have to handle the last case where the segment will only be partially filled