step one for keeping domains seperate in end direction