distance between two waves