BuildListOptimizer
added Error handling and Debug output