utility to turn UNLIMITED dimension into fixed len dim?