really awful code for walls thinner than 1 tile