Unified 6 and 26 connexity propagation mechanism for Fast Marching based algorithms