Fixed runtime efficiency.
Merge pull request #10 from alexhoneygosky/master

Fixed runtime efficiency.