added simple polygon decomposition