Replaced struct by lambda
Improved box generation speed
Removed Identity test in TransformVertices