added cropping code. separated stl publisher from node