corrected pc50 so that it always goes every $pc50_interval