Use legal positions for endgame initialization