Tunable stress induced magnetic domain configuration in FePt thin films