improve inplaceAdd
SMALL_VALUES -> smallValues