combine steps to make image smaller