Use longs whenver possible, and also warn if our modulus it too large, as operations will start to fail