more homogenizer refactor
more signedness warnings fixed