Rise time of proton cut-off energy in 2D and 3D PIC simulations