fix neighborhood sizes