diff --git a/.gitignore b/.gitignore
index e3375c6f92d20591e86980378ed26f461288d5da..1fde90e9aec4589ab6006f8966b6c360a7f5f5c4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,6 +7,8 @@ __material__/
 __runtime__/
 __version__/
 
+__when__.txt
+
 data/
 
 mprofile_*.dat
diff --git a/brick/component/connection.py b/brick/component/connection.py
index 367929333da8985579bb4bc29a1c64c016083beb..83c482c481a6c442f793657021ccee922274704e 100644
--- a/brick/component/connection.py
+++ b/brick/component/connection.py
@@ -68,8 +68,8 @@ def ShortestPathFromToN(
     point: site_h,
     costs: array_t,
     candidate_points_fct: Callable,
-    max_straight_sq_dist: cy_.double = np_.inf,
-) -> Tuple[site_path_h, cy_.double]:
+    max_straight_sq_dist: float = np_.inf,
+) -> Tuple[site_path_h, float]:
     #
     candidate_points, candidate_indexing = candidate_points_fct(
         point, max_straight_sq_dist
diff --git a/brick/component/extension.py b/brick/component/extension.py
index a10a0d678ec14c45512ffc3460f7f7f7e8a4566d..14fd1a90caf9fe83b739424ffbf2eba740f9a277 100644
--- a/brick/component/extension.py
+++ b/brick/component/extension.py
@@ -126,7 +126,7 @@ class extension_t(glial_cmp_t):
         )
 
     @staticmethod
-    def ExtensionWithSite(
+    def ExtensionContainingSite(
         extensions: Sequence[extension_t], site: site_h
     ) -> Optional[extension_t]:
         #
diff --git a/brick/component/glial_cmp.py b/brick/component/glial_cmp.py
index b7327e08ae9c3fd5dc6c55dfa5df14b90043252e..ee5aec20b36dea5dc57af418c94858a9ee6a72a2 100644
--- a/brick/component/glial_cmp.py
+++ b/brick/component/glial_cmp.py
@@ -36,8 +36,6 @@ from brick.general.type import array_t, np_array_picker_h, py_array_picker_h, si
 from abc import abstractmethod
 from typing import Dict, List, Optional, Tuple
 
-import numpy as np_
-
 
 class glial_cmp_t:
     #
diff --git a/brick/processing/map_labeling.py b/brick/processing/map_labeling.py
index d3550d006407448621645c64b9111706fac4ae6a..478de0b271a488bce15066d0b77f6c925bd79af2 100644
--- a/brick/processing/map_labeling.py
+++ b/brick/processing/map_labeling.py
@@ -34,9 +34,6 @@ from brick.general.type import array_t
 import numpy as np_
 
 
-invalid_n_neighbors_c = 27  # Must be positive and higher (strictly) than
-# the max number of neighbors in a skeleton
-
 shifts_of_26_neighbors_c = tuple(
     (i, j, k)
     for i in (-1, 0, 1)
@@ -44,6 +41,8 @@ shifts_of_26_neighbors_c = tuple(
     for k in (-1, 0, 1)
     if i != 0 or j != 0 or k != 0   # take every direct neighbors except itself
 )
+# Must be positive and higher (strictly) than the max number of neighbors
+invalid_n_neighbors_c = shifts_of_26_neighbors_c.__len__() + 1
 
 
 def PartLMap(map_: array_t) -> array_t:
diff --git a/nutrimorph.py b/nutrimorph.py
index 73ce4bf83c7ff17ee21d8bfa0e4663a5abb2e79d..53e4d5030f27a344b7946081d3cee3a44b67f7e9 100644
--- a/nutrimorph.py
+++ b/nutrimorph.py
@@ -235,7 +235,7 @@ while should_look_for_connections:
                 max_straight_sq_dist=max_straight_sq_dist_c,
             )
             if length <= max_weighted_length_c:
-                tgt_extenstion = extension_t.ExtensionWithSite(extensions, path[-1])
+                tgt_extenstion = extension_t.ExtensionContainingSite(extensions, path[-1])
                 cn_.ValidateConnection(tgt_extenstion, extension, path, dijkstra_costs)
                 should_look_for_connections = True
                 print(": Made")
diff --git a/parameters.py b/parameters.py
index 9b5e81d3da599678d1c8631ac393388eded5f74b..67c8e735150f580361534eab6c555d7b62f5879a 100644
--- a/parameters.py
+++ b/parameters.py
@@ -33,6 +33,7 @@ import skimage.morphology as mp_
 
 
 data_path = "./data/DIO_6H_6_1.70bis_2.2_3.tif"
+channel = 1
 with_plot = True
 
 soma_low_c = 0.15