Fix computeFullsize and _offset