Update .gitignore
Handle trapdoor bounds detection