all cases for range_cast handled