added merge_hist generalized to ltv functions