unify rank estimation