use 1 bytes instead of previously 8 bytes to store returning distance.