Fixed size calculating in getHandler