keep length in mapped file buffer