Is it always like

SetLength(mTile[X, Y].Animation.Frames, High(mTile[X, Y].Animation.Frames)+2);

or does it depend on the sizeof(frames) ?