now fully consistant with Andrey's imageJ