Enabling storing of transforms to reduce amount of objects created