fixed coloring for oddly shaped contors