Reafactorization made around regions, so that we can choose what type of collision we want. Doesnt work though, cause java makes me a sad panda.