corrected a bug in coo.perim.pts