Don't you be using your fancy mathematics to change the subject!
I think you could just loop it once for every 100ms and store the residuePhysicsTime in a member variable like i have done with the ProcessOrganelles (that method is yet to be approved by Nimbal)