Replacing evenly divisible logic with guava mod