getPaths first version

Will be used to get the list of shapes to compute