Buggy code:
public class Field extends AbstractVec implements Comparable < Field > { private final Field self ; private FieldSettings settings ; private long id = 0 ; private int radius ; private int height ; private int maxx ; private int maxy ; private int maxz ; private int minx ; private int miny ; private float velocity ; private int minz ; private BlockTypeEntry type ; private String owner ; private String newOwner ; private String name ; private Field parent ; private List < Field > children = new ArrayList < Field > ( ) ; private List < String > allowed = new ArrayList < String > ( ) ; private List < String > renters = new ArrayList < String > ( ) ; private List < String > blacklistedCommands = new ArrayList < String > ( ) ; private List < BlockTypeEntry > whitelistedBlocks = new ArrayList < BlockTypeEntry > ( ) ; private Set < DirtyFieldReason > dirty = new HashSet < DirtyFieldReason > ( ) ; private List < GriefBlock > grief = new ArrayList < GriefBlock > ( ) ; private List < SnitchEntry > snitches = new ArrayList < SnitchEntry > ( ) ; private List < FieldFlag > flags = new ArrayList < FieldFlag > ( ) ; private List < FieldFlag > disabledFlags = new ArrayList < FieldFlag > ( ) ; private List < FieldFlag > insertedFlags = new ArrayList < FieldFlag > ( ) ; private List < FieldFlag > clearedFlags = new ArrayList < FieldFlag > ( ) ; private List < BlockEntry > fenceBlocks = new ArrayList < BlockEntry > ( ) ; private List < RentEntry > renterEntries = new ArrayList < RentEntry > ( ) ; private long lastUsed ; private boolean progress ; private boolean open ; private int revertSecs ; private boolean disabled ; private int disablerId ; private boolean translocating ; private int translocationSize ; private boolean hidden ; private List < PaymentEntry > payment = new ArrayList < PaymentEntry > ( ) ; private PaymentEntry purchase ; private boolean signIsClean ; private int limitSeconds ; private int foresterUsed ; private boolean foresting ; public Field ( int x , int y , int z , int minx , int miny , int minz , int maxx , int maxy , int maxz , float velocity , String world , BlockTypeEntry type , String owner , String name , long lastUsed ) { } public Field ( int x , int y , int z , int radius , int height , float velocity , String world , BlockTypeEntry type , String owner , String name , long lastUsed ) { } public Field ( Block block , int radius , int height , String owner ) { } public Field ( Block block , int radius , int height ) { } public Field ( Block block ) { } public Field ( ) { } private void calculateDimensions ( ) { } public int getMaxVolume ( ) { } public int getActualVolume ( ) { } public int getFlatVolume ( ) { } public void setRadius ( int radius ) { } public int canSetCuboidRadius ( int radius ) { int volume = getMaxVolume ( ) ; <START_BUG> int newVolume = ( ( radius * 2 ) + 1 ) * 3 ; <END_BUG> return newVolume - volume ; } public int expand ( int num , String dir , boolean bypass ) { } public int expand ( int u , int d , int n , int s , int e , int w , boolean bypass ) { } public void contract ( int num , String dir ) { } public void contract ( int u , int d , int n , int s , int e , int w ) { } public void setCuboidDimensions ( int minX , int minY , int minZ , int maxX , int maxY , int maxZ ) { } public void setRelativeCuboidDimensions ( int minX , int minY , int minZ , int maxX , int maxY , int maxZ ) { } public Location getRelativeMin ( ) { } public Location getRelativeMax ( ) { } public int getTypeId ( ) { } public short getData ( ) { } public BlockTypeEntry getTypeEntry ( ) { } public String getType ( ) { } public int getRadius ( ) { } public int getHeight ( ) { } public String getOwner ( ) { } public void setOwner ( String owner ) { } public boolean isOwner ( String playerName ) { } public void setName ( String name ) { } public String getName ( ) { } public boolean isName ( String name ) { } public List < String > getAllAllowed ( ) { } public boolean isInAllowedList ( String target ) { } public boolean isAllowed ( String target ) { } public boolean addAllowed ( String target ) { } public void removeAllowed ( String target ) { } public String getCoords ( ) { } public String getCleanCoords ( ) { } @ Override public String toString ( ) { } public List < Vector > getCorners ( ) { } public Set < ChunkVec > getEnvelopingChunks ( ) { } public Set < Field > getIntersectingFields ( ) { } public boolean intersects ( Field field ) { } public boolean envelops ( Vector vec ) { } public boolean envelops ( AbstractVec field ) { } public boolean envelops ( Block block ) { } public boolean envelops ( Location loc ) { } public float getVelocity ( ) { } public void setVelocity ( float velocity ) { } public void markForDeletion ( ) { } public List < String > getAllowed ( ) { } public List < String > getRenters ( ) { } public boolean isRented ( ) { }

Fix:
int newVolume = ( ( int ) ( Math . pow ( ( ( radius * 2 ) + 1 ) , 3.0 ) ) ) ;