Copy constants from collider instance to Collider constructor function

I left a copy of the constants in the prototype chain of the collider
instance for compatibility