found a bug when I test it

at line 46, if you do not times 3, some positions would never be checked while some positions were checked many times.