Smart enough to not regen if not needed