change number of rays