added another optomisation to collider, still not the right way round