Set cm in constructor