Improve precision in star value calculation