Hamiltonian constraint of loop quantum cosmology