Large Heap, fix problem with library