passing total number of walls