public virtual int GetNewBlockSize(int indexOfBlock) { return PrecalculatedSizeArray[Math.Min(indexOfBlock, PrecalculatedSizeArray.Length)]; }