Two sticks of 8 cm and 12 cm long are divided into smaller pieces of equal and maximum possible length. What is the length of each stick?