Optimization: Switched to BytesRef as String representation