Improved a little. Feels still wasteful on pyObjects though