pios_delay: changed us_modulo calculation to two steps