keydistances now in float