fixed epsilon to adjust for ray norms