Eugene, is this good enough starting point for a custom optimizer or I'm missing something important/interesting?
CODE:
Please log in to see this code.
     
    
        
    
    
        
    
    
        Size:  
    
        Color:  
    
    
 
    
        
     
    
        
    
 
    
    
    
        Andrew,
I showed it to our code wizard and he said it's OK on the surface.
    
    
        
    
    
        
    
    
        Size:  
    
        Color: