pub fn chunk_vector_by_3<T>(
    vector: Vec<T>
) -> Result<Vec<[T; 3]>, InternalError>