optimizate the miter round and the square cap