reordering the constant pool so that local variables are first - but it does not work, there is probably a memory leak