fixed strange offset
new class for squeezing image