public Block(Allocator parent, int k, int offset)
 {
     this.parent = parent;
     this.k = k;
     Offset = offset;
     IsUsed = false;
     parent.chunks.Add(offset, this);
 }
 public BufferManager(int size, int chunkSize)
 {
     allocator = new Allocator(size, chunkSize);
     buffer = new VertexBuffer(size, BufferTarget.ArrayBuffer, BufferUsageHint.StaticDraw);
 }