use subdirectories rather than branches for intermediates