Initial implementation of bohe encoding for the compression test