Why is this an issue?

An FSM with only a few states should be replaced with a more performant construct.