Beyond the Kolmogorov Johnson Mehl Avrami kinetics: inclusion of the spatial correlation