--max-factors=1 and Sparse features segfault -> different check suggested by Philipp