Tut13: Effecient scanning for continuous and padded images