Shrink the inputs