Base resizing and test improved