Regrouping bits for base64