Refining csem simulator for faster performance