private void ReSize()
        {
            var newBucket = new List <int> [2 * bucket.Length];

            foreach (var list in bucket)
            {
                for (int i = 0; i < list.Size; ++i)
                {
                    int hash = Math.Abs(hashing.HashFunction(i)) % newBucket.Length;
                    newBucket[hash].PushToPosition(0, hash);
                }
            }
            bucket = newBucket;
        }