optimized algorithm parameters