On Chaikin's algorithm