Take temporal bins as argument to the pyramid building function