currently we have integer geometry coordinates that are converted to uints (where we can more easily work with bitmasks).
it might be possible to improve the performance if we do not convert to uints and work with ints -> altough this causes more problems with applying the bitmasks correctly