fixed the filler problem in cres_in_range(), was overwriting local variable