Path Filleting: use int instead of uint16_t