added constructor without shingle size