Only compute sequences once for performance win