Let error_probability and width be passed variables (singles).