Changes to improve performance. Now it only creates the tree when needed
Version bump to 0.4.0
Removed its clauses so it wont brake the build on travis