fixed heapfy advantage calculus