Transform3x3: rewrite RoD/RoI handling
- probably introduced a few bugs