Sorry, but I did many refactoring because of confusion between x,y and
row,col. Now the first strategy will work.