Working on wall smoothing functionality