get prog_size