use long to judge about numbers out of bounds