Most of the time the reason you’re pulling and all-nighter is that you didn’t plan well in the first place. You said YES when you should have said NO to the project.