current_start +=msecperbucket;
  private void createLateProjectionAllocation(Task task, Inventory inventory) {    TaskDeficit deficit = (TaskDeficit)trailingPointersHash.get(task);    LogisticsInventoryPG thePG = (LogisticsInventoryPG)      inventory.searchForPropertyGroup(LogisticsInventoryPG.class);    LogisticsAllocationResultHelper helper = new LogisticsAllocationResultHelper(task, null);    long msecperbucket = thePG.getBucketMillis();    long start = thePG.convertBucketToTime(deficit.getDeficitStartBucket());    int size = deficit.getAllocatedArraySize();    for (int i=0; i < size; i++)  {      helper.setPartial(AlpineAspectType.DEMANDRATE, start, start+msecperbucket, 			deficit.getAllocated(i));    }    AllocationResult ar = helper.getAllocationResult(0.9);    Allocation alloc = inventoryPlugin.getRootFactory().      createAllocation(task.getPlan(), task, inventory, ar, myRole);    inventoryPlugin.publishAdd(alloc);   }