Working on JPS, fixed A*