adding extra check on computing in range closeness