Decline of protein structure rigidity with interatomic distance