public interface SizeCalculator { int[] calculateSize(boolean[] opening); }