Modify multitask prediction

  Can take care of when task length is less than the minimum
  prediction granularity