Fourth-order poisson solver for the simulation of bounded plasmas