Texture extraction algorithm replaced