‘Three-year window’ planning can save big on taxes