Mixed source space

Code to generate source spaces with cortical surfaces and sub-cortical volumes.
Is this how the whole-brain grid is set up? It seems like these bits of code should start from the same grid definition / re-use the same code (by calling the same grid-establishing function).