Fixing calculateBase behaviour

CalculateBase must be as close as possible to glob-stream, when computing base pathes
Closes #48
0.6.7