Fixed base64 implementation for text
Merge polygon dp problem solved