Improve BoxIterator performance by reducing number of const char* / std::string conversions.