silence VC++ warning about compile time integer overflow in Boost
template to add lengths with saturation
new format optional for boost::optional
not format to invert a boolean