remove the case where wheighted takes the periodic value because of latency issue