BuildListOptimizer:
tested and debugged