changed the algorithm for how the bubble wavelets form