Optimization of Order Screening Function