fixed multiphase to deal with float occupancy data