Fixed rank calculation.