Get periodic sub-spaces working with new indexing.