bugfixes: makeRegularShape