Revert "improving algorithm of I-collide"

This reverts commit 604ee5b89ff5ae5ac047ce3be7d7ca4c4b3e5be0.