omg finally solved it. took me too long to find the deterministic method for that (and to understand the nuances of the board)