Similar Items: Computing Flows in Subquadratic Space