dot_prepare_transform function

Prepare Recursive Transformations