Use lookup.size instead of plainread and size calculation
Reimplement exists method: read first byte instead of finding indexes