Released version 0.5.7

* improvements and fixes to the regeneration conditions