melpe: replace double accumulator with int64_t one