The state top-up added to contributions is earned gradually based on how long you stay in the system, and the timing of an exit directly affects how much you can receive.