not sure if this lets it be optimized more but sure
changed operation of memcmp_ct