points-to-partitions: refactored reading block: optimized reading with discarding