improve rice search path