Before changing the smart layout.
Need to tune the smart layout more faster.
Refactor the hit algorithm to make the calculation faster.