solver validates check against given grid