switch binary names to dims