Change relative rank to simple implementation
No functional change