Simple optimize. 100k~3.7s