Position object and some performance improvements (that didn't really help a lot)