major refactoring of BED enumerator and additional class which saves
node proportions as output node attributes.