optimizations in NaiveBoard. saving computed values as class member.