Extract header labels from fragments with multiple dimensions (assuming they're all the same size)