change align function to only allow even/odd