found faster way to convert cps images to surfaces