Converted longs to BigIntegers due to overflow

closes #63