Intelligent Recognition of Stock to avoid Air Cuts