change hot calculation algorithm