service man const changes and copySlice cmake changes