initializeRateBlocks(); setRemainingQty(currentBucket,qty);
      public TaskDeficit(Task withdraw, double qty, LogisticsInventoryPG thePG) {        task = withdraw;        lastPhase = null;        remainingQty=qty;        this.thePG=thePG;      }