changed modulo for tracker to handle variable size key