double threshold

double threshold for start and return terminals