Would it be possible to make hysteresis2 func which would ignore the corner connections? For example a mask with a single square wouldn't grow into the both squares: 