@SebAaltonen@Jonathan_Blow This version has a “signed/unsigned comparison mismatch” warning or error depending on compiler settings and also it has an issue coming from different ranges represented by int and size_t by default - it won’t work properly if size is more than 2^31-1