Adds m to distance