collision check speedup