adjust_lpt_heap
adjust_lpt_heap(c, heap, heap->arr[hpos], hpos, cat);
adjust_lpt_heap(c, heap, lprops, lprops->hpos, new_cat);