Fix a bug

Some points was not in the board bounds