Adding in long gap switching to 5 state model.