transpose box for column-major adjustment