cleanup of labeler + gridnode neighbor check