The role of stacking faults in the critical current density of MOD films through a thickness dependence study