added computation method for permutation based hourglass function which computes the amount of extra storage needed for cheating server