In Ramayana, Surgiva narrates the strength and speed of Vali as follows:
समुद्रात् पश्चिमात् पूर्वम् दक्षिणाद् अपि च उत्तरम् | क्रामति अनुदिते सूर्ये वाली व्यपगत क्लमः || ४-११-४
"Before the dawn of sun Vali unweariedly strides from western ocean to eastern, and even from southern to northern for offering water oblations to the rising sun.
We all know that there was no ocean available in Northern side of India right now, except Himalayas.
However, modern theories say that there existed Tethys ocean, before continental collision or orogeny along the convergent boundary between the Indo-Australian Plate and the Eurasian Plate.
Thus, can we infer that the incident of Vali performing Sandhyavandana in 4 oceans occurred before formation of Himalayas?