BUG: optimize: move iteration increment position for backward compatibility
BUG: optimize: move iteration increment position for backward compatibility

ilayn/scipy,anntzer/scipy,rgommers/scipy,matthew-brett/scipy,WarrenWeckesser/scipy,vigna/scipy,andyfaff/scipy,scipy/scipy,scipy/scipy,WarrenWeckesser/scipy,matthew-brett/scipy,mdhaber/scipy,andyfaff/scipy,endolith/scipy,anntzer/scipy,anntzer/scipy,perimosocordiae/scipy,mdhaber/scipy,andyfaff/scipy,matthew-brett/scipy,mdhaber/scipy,perimosocordiae/scipy,scipy/scipy,rgommers/scipy,andyfaff/scipy,vigna/scipy,perimosocordiae/scipy,Stefan-Endres/scipy,vigna/scipy,andyfaff/scipy,anntzer/scipy,tylerjereddy/scipy,zerothi/scipy,rgommers/scipy,zerothi/scipy,Stefan-Endres/scipy,perimosocordiae/scipy,anntzer/scipy,WarrenWeckesser/scipy,grlee77/scipy,mdhaber/scipy,perimosocordiae/scipy,anntzer/scipy,Stefan-Endres/scipy,ilayn/scipy,zerothi/scipy,endolith/scipy,scipy/scipy,andyfaff/scipy,grlee77/scipy,grlee77/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,rgommers/scipy,mdhaber/scipy,perimosocordiae/scipy,WarrenWeckesser/scipy,Stefan-Endres/scipy,tylerjereddy/scipy,Stefan-Endres/scipy,matthew-brett/scipy,vigna/scipy,endolith/scipy,zerothi/scipy,ilayn/scipy,tylerjereddy/scipy,WarrenWeckesser/scipy,rgommers/scipy,matthew-brett/scipy,ilayn/scipy,endolith/scipy,ilayn/scipy,scipy/scipy,endolith/scipy,scipy/scipy,tylerjereddy/scipy,vigna/scipy,zerothi/scipy,endolith/scipy,grlee77/scipy,tylerjereddy/scipy,ilayn/scipy,mdhaber/scipy,grlee77/scipy,zerothi/scipy