replace local dependencies by remote ones
provide 4 directions vs 2 directions
add different colors to different algorithms