function to select maximum voxel within each parcel