PBC list code optimizing