adapt complex code
all/any/none/nbtrue/inbtrue/multiplies/min/max are boost.simd functions