refined offset check