adding variant of heap which tries to compensate for lack of proper smoothing on mini lenovo ubuntu
minor optimization