Added method that transforms boxes to walls