HC-SR04 Fluctuation of Values for fast refresh rates

my bad delay(50) but where should i place it, at the gps refresh rate or at the sonar?