Fixed state machine & resize