Optimize range check with cover?