Added function to make cpg shores