Adding Kerf implementation – it's a bit ugly, but it goddamn works :)