void Shorten()
{
// Shortens the object if possible
if (IsShortened() || !IsShortenable()) return;
ObjectData last = LastData as ObjectData;
if (last == null || last.GetObjectType() != GetObjectType()) return;
if (last.GetValue(0) != GetValue(0)) return;
RemoveValue(0);
SetSpacing(1, 5);
}