Factor common parts