Optimize sun screen coordinate calculations