Adding HeapArray with minimal  Floyd's algorithm plumbing