adding out_spec to outputs of lesion filling