Use const iterators on custom format