fix segfault for files star_000. fix zoom. fix case n>10 000.