basic multipoly functionality added
bugfixes regarding wrapping scenarios