HugeArray class introduced, small changes in other classes