diff --git a/source/simple/support/algorithm.hpp b/source/simple/support/algorithm.hpp
index f905ca527439cf6464c1cb524ec83749232b404e..fcd26d880293e19d162a049d408c1c3af60ae486 100644
--- a/source/simple/support/algorithm.hpp
+++ b/source/simple/support/algorithm.hpp
@@ -367,11 +367,12 @@ namespace simple::support
 
 		Integer positive = diff / 2;
 
-		auto overflew = b < a;
-		return a + (overflew ? negative : positive);
+		return a + (b < a ? negative : positive);
 
 		// TODO: this is for geom::vector
-		// return a + overflew * idiff + !overflew * diff;
+		// auto overflew = b < a;
+		// return a + overflew * negative + !overflew * positive;
+		// better yet introduce a mask function, since intrinsic vector has element-wise ternary
 
 	}