Snap grid to origin
Merge branch 'master' into grid
Merge branch 'master' into grid
Adaptive grid implemented
Improved unitSize decision
Merge branch 'grid'
Terminology fix: Height -> Depth