xylibs: bytes optimize