adapt prescale computing for CHIPKIT