added optional collision grid "optimisation"

Actually make things worse due to grid management overhead :-)
Set compiler define 'COLLISION_GRID' to activate it.
Still there in case I'll need it later and can improve it.