labelmap defaultdict
change scaling