2d: dimensions and memory
2d: ranges