try to print from prime, some errors in initialization of grid