fixed the last stale pointer bug, time for benchmarking