fix bug in assign_taxonomy_maxsum (#1)