huge modification on next allocation of past actual and next actual - 1