added processing of fixedgapsize