Compatibility fix for java 7. Integer.BYTES => 4