optimized Trip generation