move out calc rows/cols