import random


def mutate_bytes(inset, mutation_chance=2):
    """ Mutate the instruction set by changing whole bytes. """

    return [random.randrange(256) if random.randrange(100) < mutation_chance else i for i in inset]