speedups for firefly