Resize mat