change type of label_id back to int
don't allocate memory in accesses_print