Make perf by cost square of fixed size