fixing of barycentric fill and speed ups