short python script making the fiber allocation