Use predicted depth for history pruning