minimal library for scales (and tuning)