Apply constraints when molecules are rigid?