add perm histogram