[box] Implement geometry for cached version in the grid geometry

5 jobs for !3202 with feature/box-without-corner-storage
merge request