A model for antiplasticization in polystyrene