Removed collision flag debugging code.