Size-dependent structure transformation from amorphous phase to crystal