mongodb read script
consolidate data
finalizing data
update to a denser tree