starting distance assignment