Use nBestHeight instead of index height.