cube with some snapping