optimize checkers