fixed bug in calculateStreamForce