minor changes v3

ADDED PADDING TO THE RIGHT TO CHECK IF WILL NOT OVERFLOW.