nåværende tilstand for X-algoritmen