Handling insufficient number of squares found case