Extract method for getting place for a specific index

Signed-off-by: Igor Popov <igor.popov@napa.fi>