Use trove4j DoubleStack

Signed-off-by: Aleksi Sapon <QcTechs@gmail.com>