Update datasubchunk.cpp

Moving more code to .cpp