big optimization for gjk