, how far offences are to be punished, when committed within the commonwealth; and also to determine, by occasional judgments founded on the present circumstances of the fact, how far injuries from without are to be vindicated; and in both these to employ all the force of all the members, when there shall be need.