The prediction margin is no longer hard coded.

It is now a parameter.
This is very useful to avoid predictive collision detection when it is useless.