fixed sphere for java