Once the 'inner chambers' were finished, the pit and ramp were filled in and the pyramid built over the top. This allowed the chambers to be made without tunneling, and avoided the structural complications of making chambers within the body of the pyramid itself. He also reverted to an earlier style of construction by creating a rectangular enclosure wall oriented north-south, similar to those of Djoser and Sekhemkhet.