added HCrt write aggregation logic