need to parseInt() when applying padding to bounds

parseInt to make sure padding is applied with addition instead of string concatenation