add preprocessing to mark start-of-row bits, et voila!