Bugfix for the state representation vector length.