cleanup std::; seq_order/fixed/len; rewrite int_min/max etc.