Factorize detail mat too