Planner: mixed up sizeof(pointer) with sizeof(array)