preventing duplicate states in FMDBMeshStruct