Hollowing out rectangular prism