working through a weighted modularity version of LP-BRIM
shuffling things around a bit to keep TP and DBS stuff separate