distance to 0 = 0
distance to 1 = 1
distance to 2 = 3
distance to 3 = 4
