Added arbitrary bit generation