expanded row-major order class