MODIFIED bvh representation into heaplike structure