semilinSetNdd: improved calculation of star()