use the faster and less memory intensive function
Merge pull request #32 from geo4orce/master

use the faster and less memory intensive function