adjust function

Adjust the dimensions of a source object to the dimensions of a target object