topcoder badneighbours done. phew.