adjusting block padding to avoid overflow