var topEdge = top[top.length - 1] && constraint.eq(top[top.length - 1], 'bottom') || 0;