Add star alignment code (not efficient)