Commented reduce vertex function because it's buggy