Safer rehash of range in [