Updated Build1 with A*