Fixed problem with poor indexing.
New way to prepare subproblems under way.
Dividing into subfiles.
Back in action.