Generalized box bounds for COBYLA constraint construction