Less memory based code for CCRP