reduced wasteful rank2a() calls