integrals: Improved speed of 1234_sequences

This is a sample pull request. Please ignore this