add findSingletonsInSquare