restrict cres to range for all