FIXED: multi-stage transforms should now work correctly (swapped the order of concatenation)