add max-entry-size parameter (defaults to 1/128th of segment size)