fix height
add for loops for looping over paddedIMG & variables necessary