The left version is getting close.  I still need to add logic for the case where
a window is already tiled correctly in a sector, push it to the next sector.