Simplified first/mid/last rank assignment.