fix bug for more than 60 needles detected
increased maximum values