CSR optimization