Speed up candidate triangle searching. Maintain a flag which shows if the box contains any child triangles or not.