Added function 'offSet', changed for loop

function 'offSet' is for detecting over sizing