Issue #27 fixed (long arithmetic added)