finishes squares problem