xBalance.makepooledsd function

xBalance helper function