Map returns correct distances