Distance to the wall init