reuse flattenast for dot rendering