fix bounds and heterogenous ptf