Fix split_mesh() not working anymore since analyze() is lazy