You can pass 0 for the scale, and it will use the correct scale automatically.