Man gets 25-year RI for molesting minor