refactor: add dog bone corners properly with various formats