Somehow I have an integer overflow error and I don't know where...