Split walls by grids or reference planes