scale factors macro