HV-893 Increasing memory consumption per iteration by allocating arrays ...

...of long. Hopefully speeding up the OutOfMemoryException