Add check for distance from AF for TP