Issue #1: OverflowError: long int too large to convert to int