revised version of TheAbyss (https://github.com/ertdfgcvb/TheAbyss).