Use valid binary PGM format