Init once prevent flags string values
Java 1.8
Check for null, no instanceof
Fix Cuboid test