Fixed the heaps not bulding in the correct order. didn't show up on smaller sizes
fixed main for run on k200