Do out of range check in used code