Scale output properly