wip
finished calculating RBBs