multi_column_transformation optimized and unit tests written