Remove memory fencing; assign last_offset earlier