[WIP] Iterative algorithm for bundler resolve