Mod ft_find_square after merging