improved performance in action chain insertion, insert now using binary search