fixed/improved wall generation