Revert "Remove height estimation."

This reverts commit d48ca4b0605026be2f2264a6fdde541b4b1de9f0.
Test simple cache policy implementation.