Table based sequence implementation.