added function to create multiple wall segments