Script: honor opcode and stack item size limits

only one test failing now