OMFG nFees was declared as int - changed to int64 as obvious overflows would follow. could fix the negfees issue