Navigating Challenges for Sustainable Cost Optimization in B