Use unshiftAstarnode replace append.