Underpayment penalty and estimated taxes

I understand the rule of paying either 100% of last year's taxes or 90% of current year's taxes to avoid a penalty. 

Do I avoid a penalty if I reach 90% of what I owe in the last estimated tax payment of the year or is there a penalty for not paying enough earlier in the year?