2x speedup on min