Sum both idle and shutdown costs in one go

Significant performance improvement over previous commit.