Bound states of nonlinear scalar field