Basic idea of selecting and removing from stack
Merge branch 'master' of https://github.com/reytiger/elements-nim