Update BitPattern.java