Nonlinear force-free configurations in cylindrical geometry