A metamorphosis of three-dimensional wave structure in transitional and turbulent boundary layers. (5th March 2021)