refactor sun size into separate variable