Pass field Map to getChunks and change hasHighlightedFields to hasHighlightedField.