refactored star geometry