Compute diversity only on last front.