dynamic size seems to be working
profiling