Avoid bad memory accesses when building a 0-color tree.