add limit for steps to avoid runaway memory consumption by collision handling
Merge pull request #431 from sapier/dtime_clamping

add limit for (collision handling) steps to avoid runaway memory consumption