Retooled implementation to instead store node color in the parent node