From bubbles to foam: Dilute to dense evolution of hadronic wave function at high energy