then he remembered a dream he had been having : a gigantic wave was perpetually on the point of breaking , but before it did , it looped back to the beginning , and the process of swelling started again .