minor utility; treemap stuff