Avoiding unnecessary work