Optimized the creating of transform strings due to performance observations