Refactored make_wall().