Finite size scaling of the Bayesian perceptron