Towards Layer-wise Image Vectorization