When you put a marker to the board and start drawing, you put your mind to it. You enable feedback which makes you spend less time going down dead ends.
If you don't use the whiteboard, start using it. If you do use it, use it more often. Draw, design, code, draw, redesign, reduce your code, think.