[IMP] mis_builder performance: fetch only balances that we need

plus cleanup autopep8 abuse