replaced frequencies by weights (huge quality difference), replaced conditional jumps by arithmetics, started generalization of set-functions (helpers)