wrote a pretty rough solution for shaping the stars