oh god........ok i'll check that out!
(edit: found a fix! turns out it was an infinite loop cause the max points at 6 stars is considered 0)