tune function

Change the shape of the input object