added third constraint to cantilever