createTransform using supplied min and max values X,Y and Z

This shifts responsibility for calculating the min and max X,Y and Z to the
bits that get the data and know how it should be handled.