Planning the physical layout