Better particle distribution, better code