change size of a pool in imap function

mentioned in #38