Development of a radiation hard CMOS monolithic pixel sensor