Better fire spread algorithm(No more threads)