fix nearest strategy bug. Test all strategies, succeed.