Refactored apis/walk:shape to cuboid