Anyons, boundary constraint, and hierarchy in fractional quantum hall effect