Remove some unnecessary allocation in dpss