setVelocity needs to have a cap on values that can be passed towards it otherwise when using extreme intervals you can generate a large out of memory and systems with 4-6GB of ram blue screen from the memory being eaten.
There should be a cap of intervals around 4000? When you exceed 45000 the game crashes with out of memory, the higher the value the bigger the memory leak.