Working on joint limits as constraints