reduce, max
cross-platform compatibility
vec conversions