file with segemnet sizes:code and sample