added mixing depth handling for unspent