On the art of eco-machining