Use imap instead of map

Generator friendly, works better for large sizes
Drop hard coded 800 limit

woops