Add circularize action. Fixes #491