scale wraps a common smap idiom