It would be nice to have a comment with the formula behind chip_offset and size.