Second order perturbed Heisenberg Hamiltonian of Fe3O4 ultra-thin films