Impartial or generic word for both stretch/dilate and squeeze/compress

How about deform:

Distort the shape or form of; make misshapen.

Another possibility, suggested by the above, is distort:

Pull or twist out of shape.