The 30-day leap month can occur after any month. The leap rules are algorithmic and try to match astronomic observation rules.