even beter constraints handling when embedding