merge dimensions in