Pack geometry pieces on flat plane with reorient along max axis surface, useful for CNC workflows driven by heightmaps