SPH 2 AMR projection code for PopIII star formation