fixes length of integer