fix stabisize, removed old code/docs