constaintg for trailing edge